package com.rightsidetech.activity.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * act_coupon_get_record
 * @author 
 */
public class ActCouponGetRecord implements Serializable {
    private Long id;

    /**
     * 优惠活动id
     */
    private Long activityId;

    /**
     * 活动名称
     */
    private String activityName;

    /**
     * 优惠券编号
     */
    private String code;

    /**
     * 用户id/门店id
     */
    private Long userStoreId;

    /**
     * 用户名称
     */
    private String usUserName;

    /**
     * 手机号/帐号
     */
    private String phoneNo;

    /**
     * 状态 0已领取 1已使用 2已作废
     */
    private Byte status;

    /**
     * 创建时间/领取时间
     */
    private Date createdAt;

    /**
     * 优惠券类型(0折扣 1满减)
     */
    private Byte couponType;

    /**
     * 优惠卷 金额/折扣额度
     */
    private BigDecimal amount;

    /**
     * 最多抵扣金额
     */
    private Long maxDiscountAmount;

    /**
     * 最低消费金额
     */
    private Long minConsumeAmount;

    /**
     * 优惠券发放对象（0 用户 1 门店）
     */
    private Byte target;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 最多领取数量
     */
    private Long getQuantity;

    /**
     * 修改时间
     */
    private Date updatedAt;

    /**
     * 使用范围json(代理商id)
     */
    private String useScope;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getUserStoreId() {
        return userStoreId;
    }

    public void setUserStoreId(Long userStoreId) {
        this.userStoreId = userStoreId;
    }

    public String getUsUserName() {
        return usUserName;
    }

    public void setUsUserName(String usUserName) {
        this.usUserName = usUserName;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Byte getCouponType() {
        return couponType;
    }

    public void setCouponType(Byte couponType) {
        this.couponType = couponType;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Long getMaxDiscountAmount() {
        return maxDiscountAmount;
    }

    public void setMaxDiscountAmount(Long maxDiscountAmount) {
        this.maxDiscountAmount = maxDiscountAmount;
    }

    public Long getMinConsumeAmount() {
        return minConsumeAmount;
    }

    public void setMinConsumeAmount(Long minConsumeAmount) {
        this.minConsumeAmount = minConsumeAmount;
    }

    public Byte getTarget() {
        return target;
    }

    public void setTarget(Byte target) {
        this.target = target;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Long getGetQuantity() {
        return getQuantity;
    }

    public void setGetQuantity(Long getQuantity) {
        this.getQuantity = getQuantity;
    }

    public String getUseScope() {
        return useScope;
    }

    public void setUseScope(String useScope) {
        this.useScope = useScope;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}